package com.ycxy.sh.transaction.mapper;


import com.ycxy.sh.transaction.dao.entity.UserInfo;
import com.ycxy.sh.transaction.dao.entity.chat.Friends;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FriendsMapper {
    /**添加好友*/
    void insertFriend(Friends friends);
    /**判断双方是否是好友*/
    int JustTwoUserIsFriend(Friends friends);
    /**查询用户的好友列表*/
    List<UserInfo> LookUserFriend(Long userid);
    /**查询用户的信息*/
    UserInfo LookUserMine(Long userid);
}